<?php
/**
 * 广告显示管理
 * @author Ice iceinto@mallog.com.cn
 */
class AdAllotModel extends BaseModel
{
    //自动验证
    protected $_validate = array(
        array("id", "require", "广告必须！", self::MUST_VALIDATE),
        array('mid', 'require', "商场必须！", self::MUST_VALIDATE), 
        array('fid', 'require', "楼层必须！", self::MUST_VALIDATE), 
        array('level', 'require', "显示等级必须！", 1),
    );
}
?>